﻿#if UNITY_EDITOR
using UnityEditor;
#endif

namespace UI2D
{
#if UNITY_EDITOR
    public class ChangedUI2d : AssetPostprocessor
    {
        private void OnPreprocessTexture()
        {
            var texture = assetImporter as TextureImporter;
            texture.textureType = TextureImporterType.Sprite;
        }
    }
#endif
}